package com.wp.rcm.service;

import com.wp.rcm.pojo.Chance;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface PlanService {

    // 按条件插叙
    public List<Chance> findAll(@Param("chcCustName")String chcCustName, @Param("chcLinkman")String chcLinkman, @Param("chcTitle")String chcTitle,
                                @Param("offset") Integer offset, @Param("pageSize") Integer pageSize);

    public int count(@Param("chcCustName")String chcCustName, @Param("chcLinkman")String chcLinkman, @Param("chcTitle")String chcTitle);


    // 添加信息
    public int insert(Chance chance);
}
